if a list has a string remove

23

strings_with_substring = [string for string in strings if substring in string]

Comments

Submit
0 Comments